/**
 * author: XGP
 * date: 2018/09/18
 * des: 快捷菜单
 */
import request from '@/utils/request'

/**
 * 查询快捷菜单
 */
export function getCurtMenuApi() {
  return request({
    url: '/employeeshortcuts/findAll',
    method: 'get'
  })
}

/**
 * 添加快捷菜单
 */
export function addCurtMenuApi(params) {
  return request({
    url: '/employeeshortcuts/insert',
    data: params,
    method: 'post'
  })
}
